<!--
   照片类型配置
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:replace="common/common :: confJscss"/>
    <title>上传图片</title>
</head>
<style>
    .layui-card .layui-form .layui-form-label {
        width: 130px;
    }

    .layui-required:before {
        content: "*\00A0\00A0";
        display: inline-flex;
        color: #ff0000;
    }

    .layui-icon-close-fill {
        position: absolute;
        margin-left: -20px;
        margin-top: 2px;
    }

    .tips-preview {
        position: relative;
        min-height: 200px;
        overflow-x: auto;
    }

</style>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <form method="POST" action="" class="layui-form" lay-filter="zmn-form">
                <input type="hidden" name="servCategId" th:value="${servCategId}">
                <input type="hidden" name="categOneId" th:value="${categOneId}">
                <input type="hidden" name="categId" th:value="${categId}">
                <div class="layui-form-item">
                    <div class="layui-upload">
                        <div class="layui-upload-drag" id="upload" style="position: relative;">
                            <i class="layui-icon"></i>
                            <p>点击上传</p>
                        </div>
                        <div><p style="font-size: 12px;color: rgb(255,0,0);margin-top: 5px">单张图片大小512KB以内，宽:816px,高540px,支持jpg、jpeg、png格式图片上传</p></div>
                        <blockquote class="layui-elem-quote layui-quote-nm " style="margin-top:10px;">
                            预览图：
                            <div class="layui-upload-list tips-preview" id="tips">
                            </div>
                        </blockquote>
                    </div>
                </div>
                <div class="layui-form-item submit">
                    <div class="layui-input-block" style="float: right;">
                        <button class="layui-btn" lay-submit="" lay-filter="tips-detail-submit" id="tips-detail-submit">
                            提交
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</div>
</div>
<script th:inline="javascript">
    var json = {
        list: [[${list}]],
        servCategId: [[${servCategId}]],
        categOneId: [[${categOneId}]],
        categId: [[${categId}]],
    };
    layui.config({
        base: "/static/js/module/",
        version: 2022811105006,
    }).extend({
        oms_conf_tips_detail: "conf/tips/zmn.oms.conf.tips.detail",
    }).use(['oms_conf_tips_detail']);
</script>
</body>

</html>